package com.lnu.information.exception;

/**
 * @author : jian.zhang-2
 * @description:
 * @date : Create in 4:06 PM 2022/4/28
 * @modified By :
 */
public class Rect {
    double width, height, area;

    public Rect() {
    }

    public Rect(double width, double height) {
        this.width = width;
        this.height = height;
    }

    public double getArea() {
        return width * height;
    }
}
